package org.hpin.business.customer.entity ;


import java.util.Date;
import java.util.List;

import org.hpin.base.resource.entity.Resource;
import org.hpin.base.usermanager.entity.Dept;
import org.hpin.common.core.orm.BaseEntity;

/**
 * 用户实体�?
 * 
 * @author thinkpad/duan update
 * @data 2009-8-7
 */
public class Customer extends BaseEntity {

	private String id = null;
	/**
	 * 用户�?
	 */
	private String accountName = null;

	/**
	 * 用户姓名
	 */
	private String userName = null;

	/**
	 * 密码
	 */
	private String password = null;
	
	/**
	 * 性别
	 */
	private String sex ;
	
	/**
	 * 生日
	 */
	private Date birthDay ;
	
	/**
	 * �?属客�?
	 */
	private String belongService ;
	
	/**
	 * 用户类型
	 */
	private String userType ;
	
	/**
	 * 是否锁定
	 */
	private Integer isLock ;

	/**
	 * 是否启用
	 */
	private Integer isEnable = 1;
	
	/**
	 * �?属省�?
	 */
	private String province ;
	
	/**
	 * �?属城市[与province联动]
	 */
	private String city ;
	
	/**
	 * �?属县区[与city联动]
	 */
	private String district ;
	
	/**
	 * 证件类型
	 */
	private String paperworkType ;
	
	/**
	 * 证件号码
	 */
	private String paperworkCode ;
	
	/**
	 * 电子邮件地址
	 */
	private String email ;
	
	/**
	 * QQ号码
	 */
	private String qq ;
	
	/**
	 * 旺旺号码
	 */
	private String aliWangwang ;
	
	/**
	 * 微信号码
	 */
	private String weiChatCode ;
	
	/**
	 * 家庭电话
	 */
	private String homeTel ;
	
	/**
	 * 手机号码
	 */
	private String mobile ;
	
	/**
	 * 详细地址
	 */
	private String detailAddress ;
	
	private String resources = null;

	private List<Resource> resourceList = null;// 用户可以访问的资�?

	private List<Resource> moduleResourceList = null;// 用户可以访问的模�?

	/**
	 * 是否删除
	 */
	private Integer isDeleted = null;

	private Long loginNum = 0l;

	private String loginLogId = null;
	
	/**
	 * 部门ID
	 */
	private String deptId = null;
	
	private Dept dept ;

	private String deptName = null;

	/**
	 * 角色名称集合
	 */
	private String roleNames = null;

	private String roleCodes = null;
	
	public String getId() {
		return id ;
	}
	
	public void setId(String id) {
		this.id = id ;
	}
	
	public String getAccountName() {
		return accountName ;
	}
	
	public void setAccountName(String accountName) {
		this.accountName = accountName ;
	}
	
	public String getUserName() {
		return userName ;
	}
	
	public void setUserName(String userName) {
		this.userName = userName ;
	}
	
	public String getPassword() {
		return password ;
	}
	
	public void setPassword(String password) {
		this.password = password ;
	}
	
	public String getSex() {
		return sex ;
	}
	
	public void setSex(String sex) {
		this.sex = sex ;
	}

	public Date getBirthDay() {
		return birthDay ;
	}
	
	public void setBirthDay(Date birthDay) {
		this.birthDay = birthDay ;
	}
	
	public String getBelongService() {
		return belongService ;
	}
	
	public void setBelongService(String belongService) {
		this.belongService = belongService ;
	}
	
	public String getUserType() {
		return userType ;
	}

	public void setUserType(String userType) {
		this.userType = userType ;
	}
	
	public Integer getIsLock() {
		return isLock ;
	}
	
	public void setIsLock(Integer isLock) {
		this.isLock = isLock ;
	}
	
	public Integer getIsEnable() {
		return isEnable ;
	}
	
	public void setIsEnable(Integer isEnable) {
		this.isEnable = isEnable ;
	}
	
	public String getProvince() {
		return province ;
	}
	
	public void setProvince(String province) {
		this.province = province ;
	}
	
	public String getCity() {
		return city ;
	}
	
	public void setCity(String city) {
		this.city = city ;
	}
	
	public String getDistrict() {
		return district ;
	}

	public void setDistrict(String district) {
		this.district = district ;
	}

	public String getPaperworkType() {
		return paperworkType ;
	}
	
	public void setPaperworkType(String paperworkType) {
		this.paperworkType = paperworkType ;
	}
	
	public String getPaperworkCode() {
		return paperworkCode ;
	}
	
	public void setPaperworkCode(String paperworkCode) {
		this.paperworkCode = paperworkCode ;
	}
	
	public String getEmail() {
		return email ;
	}
	
	public void setEmail(String email) {
		this.email = email ;
	}
	
	public String getQq() {
		return qq ;
	}
	
	public void setQq(String qq) {
		this.qq = qq ;
	}
	
	public String getAliWangwang() {
		return aliWangwang ;
	}
	
	public void setAliWangwang(String aliWangwang) {
		this.aliWangwang = aliWangwang ;
	}

	public String getWeiChatCode() {
		return weiChatCode ;
	}

	public void setWeiChatCode(String weiChatCode) {
		this.weiChatCode = weiChatCode ;
	}
	
	public String getHomeTel() {
		return homeTel ;
	}
	
	public void setHomeTel(String homeTel) {
		this.homeTel = homeTel ;
	}
	
	public String getMobile() {
		return mobile ;
	}
	
	public void setMobile(String mobile) {
		this.mobile = mobile ;
	}

	public String getDetailAddress() {
		return detailAddress ;
	}

	public void setDetailAddress(String detailAddress) {
		this.detailAddress = detailAddress ;
	}
	
	public String getResources() {
		return resources ;
	}
	
	public void setResources(String resources) {
		this.resources = resources ;
	}
	
	public List<Resource> getResourceList() {
		return resourceList ;
	}

	public void setResourceList(List<Resource> resourceList) {
		this.resourceList = resourceList ;
	}

	public List<Resource> getModuleResourceList() {
		return moduleResourceList ;
	}
	
	public void setModuleResourceList(List<Resource> moduleResourceList) {
		this.moduleResourceList = moduleResourceList ;
	}
	
	public Integer getIsDeleted() {
		return isDeleted ;
	}

	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted ;
	}
	
	public Long getLoginNum() {
		return loginNum ;
	}
	
	public void setLoginNum(Long loginNum) {
		this.loginNum = loginNum ;
	}
	
	public String getLoginLogId() {
		return loginLogId ;
	}

	public void setLoginLogId(String loginLogId) {
		this.loginLogId = loginLogId ;
	}

	public String getDeptId() {
		return deptId ;
	}
	
	public void setDeptId(String deptId) {
		this.deptId = deptId ;
	}

	public String getDeptName() {
		return deptName ;
	}
	
	public void setDeptName(String deptName) {
		this.deptName = deptName ;
	}
	
	public String getRoleNames() {
		return roleNames ;
	}

	public void setRoleNames(String roleNames) {
		this.roleNames = roleNames ;
	}

	public String getRoleCodes() {
		return roleCodes ;
	}
	
	public void setRoleCodes(String roleCodes) {
		this.roleCodes = roleCodes ;
	}
	
	public Dept getDept() {
		return dept ;
	}
	
	public void setDept(Dept dept) {
		this.dept = dept ;
	}
	
}
